<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of LocationController
 *
 * @author user
 */
class LocationController extends WebController {

    function index() {
        $this->load->model('location');
        $this->view->content = View::factory('location/index');
        $this->view->content->results = $this->location->get_locations();
    }
}
?>
